package bean;

public class StuTeaCla2 {
	
	private int id;
	private String s_id;
	private String s_name;
	private String s_gender;
	private Teacher teacher;
	private MyClass myclass;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getS_id() {
		return s_id;
	}
	public void setS_id(String s_id) {
		this.s_id = s_id;
	}
	public String getS_name() {
		return s_name;
	}
	public void setS_name(String s_name) {
		this.s_name = s_name;
	}
	public String getS_gender() {
		return s_gender;
	}
	public void setS_gender(String s_gender) {
		this.s_gender = s_gender;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	public MyClass getMyclass() {
		return myclass;
	}
	public void setMyclass(MyClass myclass) {
		this.myclass = myclass;
	}
	
	public StuTeaCla2(int id, String s_id, String s_name, String s_gender, Teacher teacher, MyClass myclass) {
		super();
		this.id = id;
		this.s_id = s_id;
		this.s_name = s_name;
		this.s_gender = s_gender;
		this.teacher = teacher;
		this.myclass = myclass;
	}
	public StuTeaCla2(String s_id, String s_name, String s_gender, Teacher teacher, MyClass myclass) {
		super();
		this.s_id = s_id;
		this.s_name = s_name;
		this.s_gender = s_gender;
		this.teacher = teacher;
		this.myclass = myclass;
	}
	
	public StuTeaCla2() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	@Override
	public String toString() {
		return "StuTeaCla [id=" + id + ", s_id=" + s_id + ", s_name=" + s_name + ", s_gender=" + s_gender + ", teacher="
				+ teacher + ", myclass=" + myclass + "]";
	}

}
